package cn.wolfcode.wms.mapper;

import cn.wolfcode.wms.domain.ProductStock;
import cn.wolfcode.wms.qo.ProductStockQueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductStockMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductStock record);

    ProductStock selectByproductIdAndDepotId(@Param("productId")Long productId,@Param("depotId")Long depotId);

    int updateByPrimaryKey(ProductStock record);

    List<ProductStock> selectAll(ProductStockQueryObject qo);

    Integer queryForCount(ProductStockQueryObject qo);

    ;
}